package com.molyfun.parents.activity.common;

import android.os.Bundle;
import android.text.TextUtils;

import com.molyfun.parents.activity.organization.OrganizationActivity;
import com.molyfun.parents.utils.PreferencesStorageUtil;


public abstract class BaseBindActivity extends BaseActivity {


    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        if(TextUtils.isEmpty(PreferencesStorageUtil.getStudentId(this))){
            OrganizationActivity.startActivity(this);
        }
    }

}
